bad-form-peter
==============

# About

This repo will contain the basic necessities, if not best practices, to submit forms with some validation and prompts back to the user.  

## Project Name

The name derives from a line from a movie named Hook by the character Captain Hook.  

# License

Right now to begin with, since so much of this will reuse from public information:  

vaeringjar 2017 CC0  

# References

## Form validation and submission

### Relative brute force by explicitly checking each field
1. http://www.the-art-of-web.com/javascript/ajax-validate/
1. https://www.w3schools.com/js/js_validation.asp

### Less brute force by using css as tags
1. https://stackoverflow.com/questions/18495310/checking-if-an-input-field-is-required-using-jquery/30159900#30159900

### Reading the attribute
1. https://stackoverflow.com/questions/18495310/checking-if-an-input-field-is-required-using-jquery/18495401#18495401
1. https://stackoverflow.com/questions/25311923/javascript-validation-for-all-field-with-required-attribute/25312572#25312572

## Less common javascript use cases

1. [select a label for an element](https://stackoverflow.com/questions/285522/find-html-label-associated-with-a-given-input/285565#285565)

